using BBI.Model;

namespace BBI.Data.Contracts
{
    /// <summary>
    /// Interface for the Code Camper "Unit of Work"
    /// </summary>
    public interface IBBIUow
    {
        // Save pending changes to the data store.
        void Commit();

        // Repositories
        IRepository<Category> Categories { get; }
        //IRepository<Room> Rooms { get; }
        IRepository<Article> Articles { get; }
      
        //IRepository<TimeSlot> TimeSlots { get; }
        //IRepository<Track> Tracks { get; }
        //IAttendanceRepository Attendance { get; }
    }
}